from typing import Dict, Any, Optional
import random

def exclude_empty(data: Dict[str, Any], exclude_values: Optional[list] = None) -> Dict[str, Any]:
    """
    排除空值的字段
    
    Args:
        data: 原始数据字典
        exclude_values: 要排除的值列表，默认为 ["", {}, [], None]
    
    Returns:
        过滤后的字典
    """
    if exclude_values is None:
        exclude_values = ["", {}, [], None]
    
    return {
        k: v for k, v in data.items() 
        if v not in exclude_values
    }


def radom_icons():
    icons = [
        "czs-about",
        "czs-about-l",
        "czs-add",
        "czs-airplane",
        "czs-airplane-l",
        "czs-alipay",
        "czs-analysis",
        "czs-android",
        "czs-angle-down-l",
        "czs-angle-left-l",
        "czs-angle-right-l",
        "czs-angle-up-l",
        "czs-apple",
        "czs-arrow-down-l",
        "czs-arrow-up-l",
        "czs-baiduwangpan",
        "czs-bar-chart",
        "czs-bar-chart-l",
        "czs-battery",
        "czs-battery-l",
        "czs-bell",
        "czs-bell-l",
        "czs-bevel",
        "czs-bilibili",
        "czs-bitcoin",
        "czs-blackboard",
        "czs-blackboard-l",
        "czs-block",
        "czs-block-l",
        "czs-bluetooth",
        "czs-bluetooth-l",
        "czs-board",
        "czs-board-l",
        "czs-book",
        "czs-book-l",
        "czs-bookmark",
        "czs-bookmark-l",
        "czs-books",
        "czs-books-l",
        "czs-bot",
        "czs-bot-l",
        "czs-box",
        "czs-box-l",
        "czs-briefcase",
        "czs-briefcase-l",
        "czs-brush",
        "czs-brush-l",
        "czs-bug",
        "czs-bug-l",
        "czs-building",
        "czs-building-l",
        "czs-buy",
        "czs-buy-l",
        "czs-calculator",
        "czs-calculator-l",
        "czs-calendar",
        "czs-calendar-l",
        "czs-camber",
        "czs-camber-l",
        "czs-camber-o",
        "czs-camera",
        "czs-camera-l",
        "czs-car",
        "czs-car-l",
        "czs-category-l",
        "czs-certificate",
        "czs-certificate-l",
        "czs-chemistry",
        "czs-chemistry-l",
        "czs-choose-list-l",
        "czs-chrome",
        "czs-circle",
        "czs-circle-l",
        "czs-circle-o",
        "czs-clip-l",
        "czs-clock",
        "czs-clock-l",
        "czs-close-l",
        "czs-clothes",
        "czs-clothes-l",
        "czs-cloud",
        "czs-cloud-download-l",
        "czs-cloud-l",
        "czs-cloud-upload-l",
        "czs-code-branch",
        "czs-code-file",
        "czs-code-file-l",
        "czs-code-fork",
        "czs-code-l",
        "czs-coin",
        "czs-coin-l",
        "czs-collection",
        "czs-come-l",
        "czs-command",
        "czs-command-l",
        "czs-commed2",
        "czs-commed2-l",
        "czs-comment",
        "czs-comment-l",
        "czs-computer",
        "czs-computer-l",
        "czs-configuration",
        "czs-configuration-l",
        "czs-container",
        "czs-container-l",
        "czs-control",
        "czs-control-rank",
        "czs-credit-card",
        "czs-credit-card-l",
        "czs-crown",
        "czs-crown-l",
        "czs-css3",
        "czs-cube",
        "czs-cube-l",
        "czs-cup",
        "czs-cup-l",
        "czs-d-glasses",
        "czs-dashboard",
        "czs-dashboard-l",
        "czs-dev-board",
        "czs-dev-board-l",
        "czs-diamond",
        "czs-diamond-l",
        "czs-doc-edit",
        "czs-doc-edit-l",
        "czs-doc-file",
        "czs-doc-file-l",
        "czs-download-l",
        "czs-dribbble",
        "czs-dropbox",
        "czs-earth",
        "czs-earth-l",
        "czs-eye",
        "czs-eye-l",
        "czs-face",
        "czs-face-l",
        "czs-facebook",
        "czs-file",
        "czs-file-l",
        "czs-film",
        "czs-film-l",
        "czs-fingerprint",
        "czs-fingerprint-l",
        "czs-fire-l",
        "czs-firewall",
        "czs-firewall-l",
        "czs-folder",
        "czs-folder-l",
        "czs-forum",
        "czs-forum-l",
        "czs-game",
        "czs-game-l",
        "czs-gene",
        "czs-gift",
        "czs-gift-l",
        "czs-github",
        "czs-github-logo",
        "czs-Google",
        "czs-greatwall",
        "czs-hacker",
        "czs-hammer",
        "czs-hammer-l",
        "czs-hand-bevel",
        "czs-hand-button",
        "czs-hand-gather",
        "czs-hand-grasp",
        "czs-hand-horizontal",
        "czs-hand-pointer",
        "czs-hand-slide",
        "czs-hand-stop",
        "czs-hand-touch",
        "czs-hande-vertical",
        "czs-hdmi",
        "czs-hdmi-l",
        "czs-headset",
        "czs-headset-l",
        "czs-heart",
        "czs-heart-l",
        "czs-home",
        "czs-home-l",
        "czs-html5",
        "czs-image",
        "czs-image-l",
        "czs-inbox",
        "czs-inbox-l",
        "czs-info-l",
        "czs-Instagram",
        "czs-key",
        "czs-key-l",
        "czs-keyboard",
        "czs-keyboard-l",
        "czs-label-info",
        "czs-label-info-l",
        "czs-laptop",
        "czs-laptop-l",
        "czs-layers",
        "czs-layout-grid",
        "czs-layout-grids",
        "czs-layout-list",
        "czs-light",
        "czs-light-flash-l",
        "czs-light-l",
        "czs-lightning",
        "czs-lightning-l",
        "czs-link-l",
        "czs-linux",
        "czs-list-clipboard",
        "czs-list-clipboard-l",
        "czs-location",
        "czs-location-l",
        "czs-lock",
        "czs-lock-l",
        "czs-map",
        "czs-map-l",
        "czs-medal",
        "czs-medal-l",
        "czs-menu-l",
        "czs-message",
        "czs-message-l",
        "czs-microchip",
        "czs-microchip-l",
        "czs-microphone",
        "czs-microphone-l",
        "czs-microsoft",
        "czs-mobile",
        "czs-mobile-l",
        "czs-moments",
        "czs-money",
        "czs-moon",
        "czs-moon-l",
        "czs-more",
        "czs-mouse",
        "czs-mouse-l",
        "czs-music",
        "czs-music-file",
        "czs-music-file-l",
        "czs-music-l",
        "czs-music-note",
        "czs-music-note-l",
        "czs-nail",
        "czs-nail-l",
        "czs-nas",
        "czs-nas-l",
        "czs-network",
        "czs-network-l",
        "czs-new",
        "czs-new-l",
        "czs-newspaper",
        "czs-newspaper-l",
        "czs-operation",
        "czs-operation-l",
        "czs-out-l",
        "czs-pad",
        "czs-pad-l",
        "czs-paper",
        "czs-paper-l",
        "czs-paper-plane",
        "czs-paper-plane-l",
        "czs-pause-l",
        "czs-paypal",
        "czs-pen",
        "czs-pen-write",
        "czs-people",
        "czs-phone",
        "czs-phone-l",
        "czs-pinterest",
        "czs-pixel",
        "czs-platform",
        "czs-platform-l",
        "czs-play-l",
        "czs-plugin",
        "czs-pokemon-ball",
        "czs-port",
        "czs-port-l",
        "czs-printer",
        "czs-printer-l",
        "czs-product",
        "czs-program",
        "czs-program-framework",
        "czs-program-l",
        "czs-prototype",
        "czs-prototype-l",
        "czs-prototype-select",
        "czs-prototype-select-l",
        "czs-qq",
        "czs-qrcode-l",
        "czs-quadrotor",
        "czs-quote-left",
        "czs-quote-right",
        "czs-qzone",
        "czs-raspberry",
        "czs-raspberry-l",
        "czs-read",
        "czs-read-l",
        "czs-red-envelope",
        "czs-renew",
        "czs-right-clipboard",
        "czs-right-clipboard-l",
        "czs-robot",
        "czs-robot-l",
        "czs-robot2",
        "czs-robot2-l",
        "czs-rocket",
        "czs-rocket-l",
        "czs-rollerbrush",
        "czs-rollerbrush-l",
        "czs-router",
        "czs-router-l",
        "czs-rss",
        "czs-ruler",
        "czs-ruler-l",
        "czs-save",
        "czs-save-l",
        "czs-scan-l",
        "czs-scissors",
        "czs-sdcard",
        "czs-sdcard-l",
        "czs-search-l",
        "czs-server",
        "czs-server-l",
        "czs-servers",
        "czs-setting",
        "czs-setting-l",
        "czs-share",
        "czs-shield",
        "czs-shield-l",
        "czs-shop",
        "czs-shop-l",
        "czs-shopping-cart",
        "czs-shopping-cart-l",
        "czs-site-folder",
        "czs-site-folder-l",
        "czs-slider-l",
        "czs-square",
        "czs-square-l",
        "czs-square-o",
        "czs-star",
        "czs-star-l",
        "czs-steam",
        "czs-storage",
        "czs-storage-l",
        "czs-sun",
        "czs-sun-l",
        "czs-sword",
        "czs-sword-l",
        "czs-t-brian",
        "czs-tab",
        "czs-tab-l",
        "czs-tag",
        "czs-tag-l",
        "czs-taiji",
        "czs-talk",
        "czs-talk-l",
        "czs-taobao",
        "czs-telegram",
        "czs-text-l",
        "czs-thumbs-up",
        "czs-thumbs-up-l",
        "czs-ticket",
        "czs-ticket-l",
        "czs-time",
        "czs-time-l",
        "czs-tmall",
        "czs-transmission-l",
        "czs-transport",
        "czs-trash",
        "czs-trash-l",
        "czs-triangle",
        "czs-triangle-l",
        "czs-triangle-o",
        "czs-trophy",
        "czs-trophy-l",
        "czs-truck",
        "czs-truck-l",
        "czs-tv",
        "czs-tv-l",
        "czs-twitter",
        "czs-upload-l",
        "czs-usb",
        "czs-usb-l",
        "czs-user",
        "czs-user-l",
        "czs-v2ex",
        "czs-vector-design",
        "czs-video-camera",
        "czs-video-camera-l",
        "czs-video-file",
        "czs-video-file-l",
        "czs-vimeo",
        "czs-virtual",
        "czs-virtual-l",
        "czs-volume",
        "czs-volume-l",
        "czs-volume-x-l",
        "czs-wallet",
        "czs-wallet-l",
        "czs-warning",
        "czs-warning-l",
        "czs-watch",
        "czs-watch-l",
        "czs-web-edit",
        "czs-web-edit-l",
        "czs-webcam",
        "czs-webcam-l",
        "czs-weibo",
        "czs-weixin",
        "czs-weixinzhifu",
        "czs-wifi",
        "czs-wordpress",
        "czs-wrench",
        "czs-wrench-l",
        "czs-write-l",
        "czs-x-buy-l",
        "czs-youtube",
        "czs-zhihu",
        "czs-zip-folder",
        "czs-zip-folder-l"
            ]
    return random.choice(icons)